# -*- coding: utf-8 -*-
class WorkOrderPermission(object):
    def __init__(self,request,suborder_id):
        self.request = request
        self.suborder_id = suborder_id

    def has_perm(self):

        user = self.request.user
        suborder_id = self.suborder_id
        # approve_user == user   # SubOrder表中approve_user正好是当前用户
        # if '1':
        #     return True
        # if '2':
        #     return True
        return True



